package com.cw.service.impl;

import com.cw.entity.Role;
import com.cw.mapper.RoleMapper;
import com.cw.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author cw
 * @since 2021/7/14 18:26
 * @deprecated
 */
@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    private RoleMapper roleMapper;


    @Override
    public List<Role> getRoleList() {

        return roleMapper.getRoleList();
    }
}
